<?php
return [

    'toolbar' => [
        'addCategory' => ['text' => '新增', 'icon' => 'icon-add'],
        'editCategory' => ['text' => '编辑', 'icon' => 'icon-edit'],
        'deleteCategory' => ['text' => '删除', 'icon' => 'icon-delete'],
        'refreshCategory' => ['text' => '刷新', 'icon' => 'icon-refresh'],
    ],
    'fg' => [
        'filterToolbar' => true,
        'treeGrid' => true,
        'ondblClickRow' => 'editCategory',
        'autoheight' => false,
        'height' => '200',
        'colModel' => [
            [
                'label' => 'ID',
                'name' => 'id',
                'width' => 40,
                'align' => 'center',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => 'parend_id',
                'name' => 'parend_id',
                'width' => 220,
                'align' => 'left',
                'hidden' => true,
                'classes' => 'gc-black',

            ],
            [
                'label' => '名称',
                'name' => 'name',
                'width' => 130,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '标识',
                'name' => 'sign',
                'width' => 130,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black',

            ],

        ],
        'rowNum' => 240,
        'rowList' => [30, 60, 120, 240],
    ],
];
